class IndexController < ApplicationController
  def index
    now = Time.zone.now
    @note = NoteDate.find_or_create_by_year_and_month now.year, now.month
    @dailies = Daily.find_all_by_note_date_id @note.id, :include => :daily_types,
                                              :conditions => {:status => 1}, :order => "day"
  end

end
